﻿@using MVC_da.Models.Database
@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    var xinwens = ViewData["xinwens"] as Xinwen;

}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>NewWebsite</title>
    <link rel="stylesheet" href="~/css/index.css">
</head>

<body>
    <!--导航栏-->
    <div class="content">

        <div id="main">

            <h1 class="detail-title">@xinwens.Ntitle</h1>
            <div class="post_info">
                <span>@xinwens.Ntime</span>　来源: <span>@xinwens.Nsource</span>
            </div>
            <div class="post_content">@xinwens.Ncontent</div>
        </div>
    </div>
    <script>
    </script>
</body>

</html>